// samsting : this file is auto create.

#include "Emr/2015-09-10/ListExecutePlanJobsResponse.h"

namespace aliyun { namespace Emr {

ListExecutePlanJobsResponse::ListExecutePlanJobsResponse() {
}

const string& ListExecutePlanJobsResponse::ExecutePlanJobInfo::Getid(void) const {
  return id_;
}

const string& ListExecutePlanJobsResponse::ExecutePlanJobInfo::GetisMaster(void) const {
  return isMaster_;
}

const string& ListExecutePlanJobsResponse::ExecutePlanJobInfo::GetLastRunStatus(void) const {
  return LastRunStatus_;
}

const string& ListExecutePlanJobsResponse::ExecutePlanJobInfo::GetRunTime(void) const {
  return RunTime_;
}

const string& ListExecutePlanJobsResponse::ExecutePlanJobInfo::GetClusterName(void) const {
  return ClusterName_;
}

const string& ListExecutePlanJobsResponse::ExecutePlanJobInfo::GetStatus(void) const {
  return Status_;
}

const std::vector<ListExecutePlanJobsResponse::ExecutePlanJobInfo>& ListExecutePlanJobsResponse::GetExecutePlanJobs(void) const {
  return ExecutePlanJobs_;
}

int ListExecutePlanJobsResponse::GetTotalCount(void) const {
  return TotalCount_;
}

int ListExecutePlanJobsResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int ListExecutePlanJobsResponse::GetPageSize(void) const {
  return PageSize_;
}

const char* ListExecutePlanJobsResponse::BaseKey(void) {
  return "ListExecutePlanJobsResponse";
}

void ListExecutePlanJobsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int ExecutePlanJobs__length = 0;
  UnmarshallerInt(ExecutePlanJobs__length, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs.Length");
  if(ExecutePlanJobs__length >= 0) {
    ExecutePlanJobs_.resize(ExecutePlanJobs__length);
    for(int i1 = 0; i1 < ExecutePlanJobs__length; i1++) {
      UnmarshallerString(ExecutePlanJobs_[i1].id_, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs["+string_ValueOfInt(i1)+"].id");
      UnmarshallerString(ExecutePlanJobs_[i1].isMaster_, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs["+string_ValueOfInt(i1)+"].isMaster");
      UnmarshallerString(ExecutePlanJobs_[i1].LastRunStatus_, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs["+string_ValueOfInt(i1)+"].LastRunStatus");
      UnmarshallerString(ExecutePlanJobs_[i1].RunTime_, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs["+string_ValueOfInt(i1)+"].RunTime");
      UnmarshallerString(ExecutePlanJobs_[i1].ClusterName_, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs["+string_ValueOfInt(i1)+"].ClusterName");
      UnmarshallerString(ExecutePlanJobs_[i1].Status_, response_map, "ListExecutePlanJobsResponse.ExecutePlanJobs["+string_ValueOfInt(i1)+"].Status");
    } // for(int i1 = 0; i1 < ExecutePlanJobs__length; i1++) {
  } // if(ExecutePlanJobs__length >= 0) {

  UnmarshallerInt(TotalCount_, response_map, "ListExecutePlanJobsResponse.TotalCount");
  UnmarshallerInt(PageNumber_, response_map, "ListExecutePlanJobsResponse.PageNumber");
  UnmarshallerInt(PageSize_, response_map, "ListExecutePlanJobsResponse.PageSize");
}


} } // namespace aliyun { namespace Emr {

// end of file 
